export default {
  path: 'craftsman',
  redirect: '/operating/craftsman/index',
  component: () => import('@/components/Layout/index'),
  meta: { title: 'craftsman' },
  children: [
    {
      path: 'index',
      component: () => import('@/views/craftsman/pages/index'),
      name: 'CraftsmanMain',
      meta: { title: 'craftsmanMain', menuName: '工匠人物', replaceNum: 1 }
    },
    {
      path: 'manage',
      component: () => import('@/views/craftsman/pages/manage'),
      name: 'CraftsmanUpdate',
      hidden: true,
      meta: { title: 'craftsmanMain', activeMenu: '/operating/craftsman/index' }
    },
    {
      path: 'comment',
      component: () => import('@/views/craftsman/pages/comment'),
      name: 'CraftsmanComment',
      hidden: true,
      meta: { title: 'craftsmanMain', activeMenu: '/operating/craftsman/index' }
    },
    {
      path: 'category',
      component: () => import('@/views/craftsman/pages/category'),
      name: 'CraftsmanCategory',
      hidden: true,
      meta: { title: 'craftsmanCategory', activeMenu: '/operating/craftsman/index' }
    }
  ]
}
